/**
   File: IChannelService.java
   Description: 
   Copyright 2004-2009 99Bill Corporation. All rights reserved.
   Date          Author          Changes
   2011-1-11    Vern Zheng	    Create
 */

package cms.channel.service;

import java.util.List;
import java.util.Map;

import cms.channel.model.ChannelInfo;
import core.support.page.PageRequest;
import core.support.page.PageResult;

/**
 * <p>
 * </p>
 * 
 * @author Vern.Zheng
 */

public interface IChannelService {

	public void save(ChannelInfo channel);

	public int delete(Long id);

	public void update(ChannelInfo channel);

	public List<ChannelInfo> listAll();

	public List<ChannelInfo> listByParent(Long id);
	
	public PageResult<ChannelInfo> query(PageRequest<Map> page);
	
}
